package cn.fxxk.common;

public class Constants {
    /**
     * 本机域名
     */
    public static final String HOST_URL = "http://deng.natapp1.cc";
    public static final String FXXK_URL = "https://open-hwcloud.fxiaoke.com";
    /**
     * APP_ID&APP_SECRET&PERMANENT_CODE永久授权码
     */
    public static final String APP_ID = "FSAID_1318ebf";
    public static final String APP_SECRET = "61afe11cf5ba46b697ac63551c82670a";
    public static final String PERMANENT_CODE = "744459937F70BFE4A1CD614C11DED4CF";

    /**
     * 获取CODE的URL，返回值在redirectUrl中，需要获取CODE时，用该url在浏览器访问即可
     */
    public static final String GET_CODE = FXXK_URL + "/oauth2.0/authorize?appId=FSAID_1318ebf&responseType=code&state=77598SDASF&redirectUrl=http://deng.natapp1.cc/fxxkback/event/getCodeCallBack";

    /**
     * 获取corpAccessToken
     */
    public static final String GET_TOKEN = FXXK_URL + "/cgi/corpAccessToken/get/V2";

    public static final String GET_OPEN_USER_ID = FXXK_URL + "/oauth2.0/token";

    public static final String GET_REFRESH_TOKEN = FXXK_URL + "/oauth2.0/token";

    public static final String QUERY_ACCOUT = FXXK_URL + "/cgi/crm/custom/v2/data/query";
}
